﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace TestMatrix.Phone
{
    public partial class MainPage : PhoneApplicationPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void btnBugReport_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MatrixSummaryPage.xaml", UriKind.Relative));
        }

        private void btnTestCaseReport_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/TestCaseReport.xaml", UriKind.Relative));
        }


        private void btnReleaseInfo_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/ReleaseInfoPage.xaml", UriKind.Relative));
        }

        
        private void btnGlobalTCPassRateReport_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/GlobalTestCasePassRatePage.xaml", UriKind.Relative));
        }
        private void btnGlobalTCAutomationReport_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/GlobalTestCaseAutomation.xaml", UriKind.Relative));
        }

        private void btnGlobalDREReport_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/GlobalDREPage.xaml", UriKind.Relative));
        }
        
    }
}